
package com.one.odf.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for registeredEventType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="registeredEventType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="EventEntry" type="{}extendedDataType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="Event" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
 *       &lt;attribute name="Bib" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Class" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="EntryStatus" type="{}entryStatusType" /&gt;
 *       &lt;attribute name="Substitute" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *       &lt;attribute name="Status" type="{http://www.w3.org/2001/XMLSchema}string" default="" /&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "registeredEventType", propOrder = {
    "eventEntry"
})
public class RegisteredEventType {

    @XmlElement(name = "EventEntry")
    protected List<ExtendedDataType> eventEntry;
    @XmlAttribute(name = "Event", required = true)
    protected String event;
    @XmlAttribute(name = "Bib")
    protected String bib;
    @XmlAttribute(name = "Class")
    protected String clazz;
    @XmlAttribute(name = "EntryStatus")
    protected EntryStatusType entryStatus;
    @XmlAttribute(name = "Substitute")
    protected String substitute;
    @XmlAttribute(name = "Status")
    protected String status;

    /**
     * Gets the value of the eventEntry property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the eventEntry property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getEventEntry().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ExtendedDataType }
     * 
     * 
     */
    public List<ExtendedDataType> getEventEntry() {
        if (eventEntry == null) {
            eventEntry = new ArrayList<ExtendedDataType>();
        }
        return this.eventEntry;
    }

    /**
     * Gets the value of the event property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getEvent() {
        return event;
    }

    /**
     * Sets the value of the event property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setEvent(String value) {
        this.event = value;
    }

    /**
     * Gets the value of the bib property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getBib() {
        if (bib == null) {
            return "";
        } else {
            return bib;
        }
    }

    /**
     * Sets the value of the bib property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setBib(String value) {
        this.bib = value;
    }

    /**
     * Gets the value of the clazz property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getClazz() {
        if (clazz == null) {
            return "";
        } else {
            return clazz;
        }
    }

    /**
     * Sets the value of the clazz property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setClazz(String value) {
        this.clazz = value;
    }

    /**
     * Gets the value of the entryStatus property.
     * 
     * @return
     *     possible object is
     *     {@link EntryStatusType }
     *     
     */
    public EntryStatusType getEntryStatus() {
        return entryStatus;
    }

    /**
     * Sets the value of the entryStatus property.
     * 
     * @param value
     *     allowed object is
     *     {@link EntryStatusType }
     *     
     */
    public void setEntryStatus(EntryStatusType value) {
        this.entryStatus = value;
    }

    /**
     * Gets the value of the substitute property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSubstitute() {
        if (substitute == null) {
            return "";
        } else {
            return substitute;
        }
    }

    /**
     * Sets the value of the substitute property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSubstitute(String value) {
        this.substitute = value;
    }

    /**
     * Gets the value of the status property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getStatus() {
        if (status == null) {
            return "";
        } else {
            return status;
        }
    }

    /**
     * Sets the value of the status property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setStatus(String value) {
        this.status = value;
    }

    public void setEventEntry(List<ExtendedDataType> eventEntry) {
        this.eventEntry = eventEntry;
    }
}
